//
//  HomeViewController.swift
//  iOSDataStuct
//
//  Created by 李彦宏 on 2020/5/3.
//  Copyright © 2020 LYH. All rights reserved.
//

import UIKit

struct Stack<Element> {
  private var stack: [Element]
    
var isEmpty: Bool { return stack.isEmpty }
var peek: AnyObject? { return stack.last as AnyObject? }
    
}



class HomeViewController: YHBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.leftButton.isHidden = true
        self.setNaviTitle(naviTitle: "数据结构")
    }
//数组 实现栈

    
    


}
